﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="tongji.aspx.cs" Inherits="SzCourt.WebSite.manager.tongji" %>
<%@ Register Src="~/control/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="~/control/footer.ascx" TagName="footer" TagPrefix="uc2" %>
<%@ Register src="~/control/pager.ascx" tagname="pager" tagprefix="uc3" %>
<%@ Register src="~/control/manager/menu.ascx" tagname="menu" tagprefix="uc4" %>
<%@ Register src="~/control/partselect.ascx" tagname="partselect" tagprefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
     <title>数据统计 管理平台 - 深圳市中级人民法院 </title>
    <meta id="ctl00_KeyWD" content="深圳,中级,法院,诉讼,政府" name="Keywords" />
    <meta id="ctl00_desP" content="深圳市中级人民法院" name="description" />
    <link href="/images/skin2010/base.css" rel="stylesheet" type="text/css" />
    <script src="/js/sw.js" type="text/javascript"></script>
    <script src="/js/calendar.js" type="text/javascript"></script>
</head>
<body>
    <div id="SZCOURT">
        <uc1:header ID="header1" runat="server" />
        <div class="content">
            <div class="dl">
                <uc4:menu ID="menu1" runat="server" />
            </div>
            <div class="dr">
                <uc5:partselect ID="partselect1" runat="server" />
                <!-- 数据统计 -->
                <div class="tab">
                    <div class="tt">
                        <h3 id="TabName" runat="server">数据统计</h3>
                        <p class="clear"></p>
                    </div>
                     <div class="search">
                        起始日期:<input type="text" value="" onclick="new Calendar().show(this);" size="10"  maxlength="10" readonly="readonly" class="txt" id="txtBeginDate" runat="server" />
                        结束日期:<input type="text" value="" onclick="new Calendar().show(this);" size="10"  maxlength="10" readonly="readonly" class="txt" id="txtEndDate" runat="server" />
                        栏目:<input type="text" value="" class="w60 txt" id="txtSiteCol" runat="server" />
                        部门:<input type="text" value="" class="w60 txt" id="txtDept" runat="server" />
                        人员:<input type="text" value="" class="w60 txt" id="txtUser" runat="server" />
                        <input type="button" value="查询" class="w60 btn" onclick="search();" />
                    </div>
                    <table class="tblgrid" cellpadding="0" cellspacing="0" id="tag11">
                        <tr>
                            <th width="250">时间段</th> 
                            <th width="150">发布部门</th>
                            <th width="100">发布人</th> 
                            <th width="150">栏目</th>    
                            <th width="100">数量</th>                             
                        </tr>
                         <asp:Repeater runat="Server" ID="rptDataList">
                            <ItemTemplate>
                                <tr>
                                    <td><%# Convert.ToDateTime(Eval("AddDate")).ToString("yyyy-MM")%></td> 
                                    <td><%#Eval("DeptName")%></td> 
                                    <td><%#Eval("AddUser")%></td>  
                                    <td><%#Eval("SiteCol")%></td> 
                                    <td><%#Eval("InfoCount")%></td> 
                              </tr>
                            </ItemTemplate>
                        </asp:Repeater>                       
                    </table>      
                </div>
                
                <div class="page">
                    <uc3:pager ID="pager1" runat="server" />
                </div>
            </div>
            <div class="g_cf">
            </div>
        </div>

        <uc2:footer ID="footer1" runat="server" />
    </div>
</body>
</html>
<script type="text/javascript">
    function search() {
        window.location.href = "/manager/tongji.aspx?BeginDate=" + document.getElementById("txtBeginDate").value + "&EndDate=" + document.getElementById("txtEndDate").value + "&Dept=" + document.getElementById("txtDept").value + "&User=" + document.getElementById("txtUser").value + "&SiteCol=" + document.getElementById("txtSiteCol").value;
    }
</script>
